#include <Box2D.h>
#include "b2Vec2.h"
#include "common.h"

#ifdef __cplusplus
extern "C" {
#endif

JNIEXPORT jint JNICALL Java_b2Vec2_jni_1b2Vec2 (JNIEnv *env, jobject obj)
{
	b2Vec2 *ptr = new b2Vec2();
	return (jint)ptr;
}


JNIEXPORT jint JNICALL Java_b2Vec2_jni_1b2Vec2_1xy(JNIEnv *env, jobject obj, jfloat x, jfloat y) 
{
	b2Vec2 *ptr = new b2Vec2(x, y);
	return (jint)ptr;
}

#ifdef __cplusplus
}
#endif
